package com.groupfive.mapper;

import com.groupfive.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {

    List<Employee> selectAll(Employee employee);

    Employee selectById(Long id);

    int insert(Employee employee);

    int update(Employee employee);

    int deleteById(Long id);

    Employee selectByUsername(String username);

    Employee selectByNo(String no);
}
